<?php

namespace App\Exceptions;

class BizException extends \Exception
{
    public $rescode;

    public $resmsg;

    function __construct($errcode, $errmsg)
    {
        $this->rescode = $errcode;
        $this->resmsg = $errmsg;
        parent::__construct($errmsg);
    }
}